<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      <my-component></my-component>
    </div>
    <script src="vue.js"></script>
    <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>

    <script type="text/babel">
      // 异步组件
      new Vue({
        el: '#app',
        data() {
          return {}
        },
        components: {
          //  组件的异步加载    路由按需加载
          // 'my-component': () => import('./my-async-component')
        }
      })
    </script>
  </body>
</html>
